import request from '../request'

export function getSalaryRelation(params) { // 工资对应列表数据
  return request({
    url: '/ruleAgainst/getSalaryRelation',
    method: 'POST',
    data: params
  })
}
export function setSalaryRelation(params) { // 工资对应列表是否启用
  return request({
    url: '/ruleAgainst/setSalaryRelation',
    method: 'POST',
    data: params
  })
}
export function getDeptList(params) { // 工资对应科室下拉列表
  return request({
    url: '/ruleAgainst/getDeptList',
    method: 'get',
    params
  })
}
export function getNameList(params) { // 工资对应核算单元下拉列表
  return request({
    url: '/ruleAgainst/getNameList',
    method: 'get',
    params
  })
}

export function getHisRelation(params) { // 科室-HIS对应列表数据
  return request({
    url: '/ruleAgainst/getHisRelation',
    method: 'POST',
    data: params
  })
}
export function setHisSalaryRelation(params) { // 科室-HIS对应列表是否启用
  return request({
    url: '/ruleAgainst/setHisSalaryRelation',
    method: 'POST',
    data: params
  })
}
export function getHisDeptList(params) { // 科室-HIS对应科室下拉列表
  return request({
    url: '/ruleAgainst/getHisDeptList',
    method: 'get',
    params
  })
}
export function getHisNameList(params) { // 科室-HIS对应核算单元下拉列表
  return request({
    url: '/ruleAgainst/getHisNameList',
    method: 'get',
    params
  })
}

export function getUFIDRelation(params) { // 科室-用友对应列表数据
  return request({
    url: '/ruleAgainst/getUFIDRelation',
    method: 'POST',
    data: params
  })
}
export function setUFIDRelation(params) { // 科室-用友对应-启用
  return request({
    url: '/ruleAgainst/setUFIDRelation',
    method: 'POST',
    data: params
  })
}
export function getUFIDDeptList(params) { // 科室-用友对应-科室下拉列表
  return request({
    url: '/ruleAgainst/getUFIDDeptList',
    method: 'get',
    params
  })
}
export function getUFIDNameList(params) { // 科室-用友对应-核算单元下拉列表
  return request({
    url: '/ruleAgainst/getUFIDNameList',
    method: 'get',
    params
  })
}

export function getUFIDSystemList(params) { // 成本-用友系统对应-科室下拉列表
  return request({
    url: '/ruleAgainst/getUFIDSystemList',
    method: 'get',
    params
  })
}
export function getUFIDSystemNameList(params) { // 成本-用友系统对应-核算单元下拉列表
  return request({
    url: '/ruleAgainst/getUFIDSystemNameList',
    method: 'get',
    params
  })
}
export function getUFIDSystem(params) { // 成本-用友系统对应列表数据
  return request({
    url: '/ruleAgainst/getUFIDSystem',
    method: 'POST',
    data: params
  })
}
export function editUFIDSystem(params) { // 成本-用友系统对应列表编辑
  return request({
    url: '/ruleAgainst/editUFIDSystem',
    method: 'POST',
    data: params
  })
}
export function deleteUFIDSystem(params) { // 成本-用友系统对应列表删除
  return request({
    url: '/ruleAgainst/deleteUFIDSystem',
    method: 'POST',
    data: params
  })
}
